package com.ftg.learn.bus.VO;

import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author Guo
 * @date 2022/3/8
 */
@Data
public class MenuVo implements Serializable,Cloneable {

    private static final long serialVersionUID = 1L;

    private Long mid;

    private String title;

    private String href;

    private Integer parentId;

    private Integer status;

    private Integer isleaf;

    private List<MenuVo> childList = new ArrayList<>();

    @Override
    public Object clone(){
        MenuVo o = null;
        try{
            o = (MenuVo )super.clone();
        }catch(CloneNotSupportedException e){
            e.printStackTrace();
        }
        return o;
    }
}
